<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery-3.1.0.min.js"></script>
</head>
<body>
    <div class="a">1111</div>
<script>
    $(function () {
        $('.a').on('click',function (e) {

            alert(1)
        })
        $('.a').on('click',function () {
            e.stopImmediatePropagation();
            alert(2)
        })
    })
</script>
</body>
</html>